package br.com.fiap.trabalho.junit;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public abstract class DAOtest {
	
	private static long startTime;
	private static long endTime;
	public static int numberOfIteractions = 1000;
	public static int numberOfSecondLevelEntity = 2;
	public static int numberOfThirdLevelEntity = 1;
	
	@Before
	public void getTimeBeforeExecution(){
		startTime = System.currentTimeMillis();
	}
	
	@After
	public void getTimeAfterExecution(){
		
		endTime = System.currentTimeMillis();
		
		System.out.println(endTime - startTime);
	}
	
	@Test
	public abstract void createEntity();
	@Test
	public abstract void listEntity();
	@Test
	public abstract void updateEntity();
}
